package com.whu.exam.modules.exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("el_exam_classno")
public class ExamClassno extends Model<ExamClassno> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID", required=true)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 考试ID
     */
    @ApiModelProperty(value = "考试ID", required=true)
    @TableField("exam_id")
    private String examId;

    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID", required=true)
    @TableField("classno_id")
    private String classnoId;

}
